package com.cn.auth.service.sys;

import com.cn.auth.po.sys.AuthRole;

import java.util.List;

/**
 * 角色
 * @author Maochao-zhu
 *
 */
public interface RoleService {
	public Integer insertRole(AuthRole role);
	public Integer deleteRoleById(String[] ids);
	public Integer updateRoleById(AuthRole role);
	public AuthRole getRoleById(Integer id);
	public List<AuthRole> getRoleList(AuthRole role);
	public Integer getRoleListCount(AuthRole role);

	List<Integer> getRoleMenuList(Integer roleId);

}
